--- import Layout from '@layouts/Layout.astro'; import SavedServices from '@components/things/SavedServices.svelte'; import Button from '@components/form/Button.astro'; export const prerender = false; const inventoryId = Astro.params.inventoryId || 'Inventory'; let cheekyLilError = ''; function makeTitle(input: string): string { return (input.includes('_') ? input : `mystry_${input}`) .split('_')[1] .replace(/-/g, ' ') .replace(/\b\w/g, (match) => match.toUpperCase()); } const serviceList = (await fetch( `https://awesome-privacy-share-api.as93.net/${inventoryId}`, ).then((res) => res.json())) || []; if (serviceList.error) { cheekyLilError = serviceList.error; } ---

{makeTitle(inventoryId)}

{ cheekyLilError && (

An error occoured

{cheekyLilError}

We're sorry about that.
Try going back home, or{' '} raising a ticket {' '} on GitHub.

) }

Not found what you're looking for?